<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>File Upload Example</title>
  <script language="JavaScript" type="text/javascript">
  function HandleFileButtonClick()
  {
    document.frmUpload.myFile.click();
    document.frmUpload.txtFakeText.value = document.frmUpload.myFile.value;
  }
  </script>
</head>
<body>
<!--   <form name="frmUpload"> -->
<!--     Real Input field, but hidden -->
<!--     <input type="file" name="myFile" > -->

<!--     Fake field to fool the user -->
<!--     <input type="text" name="txtFakeText" readonly="true"> -->

<!--     Button to invoke the click of the File Input -->
<!--     <input type="button" onclick="HandleFileButtonClick();"  -->
<!--          value="Upload File" style="background: red;"> -->
<!--   </form> -->
	<center>
		<table width="1000px" class="bodyTable boxShadow">
		
			<!-- HEADER -->
			<tr>
				<td colspan="2"><%@include file="/include/Header.jsp"%></td>
			</tr>
			
			<!-- CONTAINER -->
			<tr>
				<td rowspan="2" width="200px" class="navigationBox"><%@include file="/include/Navigation.jsp"%></td>
				<td align="center" class="headerBox blueBackground">BreadCrumb</td>
			</tr>
			<tr>
				<td align="center" class="contentStyle"><br>
					<form action="upload_file.php" method="post" enctype="multipart/form-data">
					<label for="file">Filename:</label>
					<input type="file" name="file" id="file"><br>
					<input type="submit" name="submit" value="Submit">
					</form>	
				</td>
			</tr>
			
			<!-- FOOTER -->
			<tr>
				<td align="center" colspan="2" class="headerBox blueBackground">&copy; OME.2013.All Rights Reserved.</td>
			</tr>
		</table>
	</center>
</body>
</html>